//
//  ShoppingViewController.h
//  hehenianMobile
//
//  Created by 余海华 on 16/4/19.
//  Copyright © 2016年 huihu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WebViewJavascriptBridge.h"
#import <NJKWebViewProgress.h>
#import <NJKWebViewProgressView.h>
#import "CommonViewController.h"
//#import "ShareView.h"

typedef void(^CancelBlock)(void);
@interface ShoppingViewController : CommonViewController<UIWebViewDelegate>
@property(nonatomic,strong) NSString *link2;
@property(nonatomic,weak) UIWebView *webView;
@property(nonatomic,copy) NSString *url;
@property (nonatomic,assign) NSInteger tag;
@property (nonatomic,assign) NSInteger headTag;// 1 标示有头 0 没有头
@property (nonatomic,strong) WebViewJavascriptBridge *bridge;
@property (nonatomic,copy) CancelBlock bindCancelBock;
-(void) showNav:(NSString *) navTitle andSelect:(NSString*) aSelect;
-(void) setNavigateTitle:(NSString *) title;
-(void) BindingPhone;
-(void) navtiveLogin:(NSDictionary *) loginDict;

-(void) setTopNavigateIcon:(NSDictionary*) imageUrl;
@property(nonatomic,strong) NJKWebViewProgress *progressProxy;

/**
 *  加载Web数据
 */
@property (nonatomic,copy) KSuccessBlock successBlock;
@property (nonatomic,copy) KCancelBlock cancelBlock;

-(void)loadWebWithUrl:(NSString *)strUrl;
@end
